package com.sz.mes.excel.model;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.file.excel.BaseExcelModel;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;

import com.sz.mes.entity.ProductTask;
/**
* 生产任务 导出model定义
* @author hem
* @version 1.0
* @date 2024-01-08
* Copyright © szhs
*/
@Getter @Setter
@ExcelIgnoreUnannotated
public class ProductTaskExportModel extends BaseExcelModel {

    /**
     * 单据编号
     */
    @ExcelProperty(value = "单据编号")
    private String receiptNum;

    /**
     * 计划号
     */
    @ExcelProperty(value = "计划号")
    private String planNum;

    /**
     * 料品料号
     */
    @ExcelProperty(value = "料品料号")
    private String productNum;



    /**
     * 料品名称
     */
    @ExcelProperty(value = "料品名称")
    private String productName;



    /**
     * 料品规格
     */
    @ExcelProperty(value = "料品规格")
    private String productSpecification;



    /**
     * 生产数量
     */
    @ExcelProperty(value = "生产数量")
    private Integer quantity;



    /**
     * 生产单位
     */
    @ExcelProperty(value = "生产单位")
    private String productUnit;



    /**
     * 生产部门
     */
    @ExcelProperty(value = "生产部门")
    private String productSection;



    /**
     * 计划开工日期
     */
    @DateTimeFormat(D.FORMAT_DATETIME_Y4MDHMS)
    @ExcelProperty(value = "计划开工日期")
    private Date startTime;



    /**
     * 计划完工日期
     */
    @DateTimeFormat(D.FORMAT_DATETIME_Y4MDHMS)
    @ExcelProperty(value = "计划完工日期")
    private Date endTime;



    /**
     * 入库数量
     */
    @ExcelProperty(value = "入库数量")
    private String instockQuantity;



    /**
     * 备料料号
     */
    @ExcelProperty(value = "备料料号")
    private String stockNum;



    /**
     * 备料名称
     */
    @ExcelProperty(value = "备料名称")
    private String stockName;



    /**
     * 备料规格
     */
    @ExcelProperty(value = "备料规格")
    private String stockSpecification;



    /**
     * 订单备料.料品.库存单位
     */
    @ExcelProperty(value = "订单备料.料品.库存单位")
    private String unit;



    /**
     * 备料用量
     */
    @ExcelProperty(value = "备料用量")
    private String stockDosage;



    /**
     * 备料发料日期
     */
    @ExcelProperty(value = "备料发料日期")
    private String stockProvideTime;



    /**
     * 备料已发放数量
     */
    @ExcelProperty(value = "备料已发放数量")
    private String stockProvideQuantity;


}
